package entity;

/**
 * @author 李栋
 * @version 1.0.0
 * @className Student.java
 * @createTime 2021年08月18日 21:42:00
 */
public class Student implements Cloneable {

    private String name;
    private String sno;

    @Override
    public Object clone() throws CloneNotSupportedException {
        return super.clone();
    }

    public Student(String name, String sno) {
        this.name = name;
        this.sno = sno;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSno() {
        return sno;
    }

    public void setSno(String sno) {
        this.sno = sno;
    }


    @Override
    public String toString() {
        return "Student{" +
                "name='" + name + '\'' +
                ", sno='" + sno + '\'' +
                '}';
    }
}
